import Layout from '@/views/layout/Layout'

export default {
  path: '/ems',
  component: Layout,
  children: [
    {
      path: 'machine',
      component: () => import('@/views/ems/machine'),
      name: 'machine',
      meta: { title: '设备', noCache: true, roles: [] },
    },
    {
      path: 'tooling',
      component: () => import('@/views/ems/tooling'),
      name: 'tooling',
      meta: { title: '模治具管理', noCache: true, roles: [] },
    },
    {
      path: 'machineType',
      component: () => import('@/views/ems/machineType'),
      name: 'machineType',
      meta: { title: '设备类型', noCache: true, roles: [] },
    },
    {
      path: 'toolingType',
      component: () => import('@/views/ems/toolingType'),
      name: 'toolingType',
      meta: { title: '模治具类型', noCache: true, roles: [] },
    },
    {
      path: 'search',
      component: () => import('@/views/ems/search'),
      name: 'search',
      meta: { title: '设备信息交互记录', noCache: false, roles: [] },
    },
    {
      path: 'toolingSearch',
      component: () => import('@/views/ems/toolingSearch'),
      name: 'toolingSearch',
      meta: { title: '设备地址查询', noCache: false, roles: [] },
    },
  ],
}
